<?php

/* @var $this \yii\web\View */
/* @var $content string */

use yii\helpers\Html;
use yii\helpers\Url;
use app_supplier\assets\SuppAssets;
SuppAssets::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?= Html::csrfMetaTags() ?>
    <title><?= Html::encode($this->title) ?></title>

    <?php $this->head() ?>
</head>
<body>
<?php $this->beginBody() ?>

<div id="container">

    <div id="header">
        <div id="menu">
            <ul class="menu-list">
                <li id="dashboard">
                    <a href="<?=Url::to(['main/index'])?>" class="top">系统主页</a>
                </li>
                <li id="dashboard">
                  <a href="<?=Url::to(['order/index'])?>" class="top">订单管理
                      <!--  <span class="arrow">&nbsp;</span>--></a>
<!--                    <ul style="display: none; visibility: hidden;">-->
<!--                        <li><a href="/store/demo/order">订单管理</a></li>-->
<!--                        <li><a href="/store/demo/order/car_order_list">整车记录</a></li>-->
<!--                        <li><a href="/store/demo/card">会员卡</a></li>-->
<!--                        <li><a href="/store/demo/coupon">优惠券</a></li>-->
<!--                        <li><a href="/store/demo/distributor">分销管理</a></li>-->
<!--                        <li><a href="/store/demo/mall">优惠套餐</a></li>-->
<!--                        <li><a href="/store/demo/mall/order">商城订单</a></li>-->
<!--                    </ul>-->
                </li>

                <li id="dashboard">
                    <a href="javascript:void(0)" class="top">库存管理<span class="arrow">&nbsp;</span></a>
                    <ul style="display: none; visibility: hidden;">
                        <li><a href="<?=Url::to(['inventory/index'])?>">配件材料</a></li>
                        <li><a href="<?=Url::to(['inventory/query'])?>">库存查询</a></li>
                        <li><a href="<?=Url::to(['inventory/warehousing_list'])?>">出库入库</a></li>
                        <li><a href="<?=Url::to(['inventory/list'])?>">库存盘点</a></li>
                    </ul>
                </li>
                <li id="dashboard" class="">
                    <a href="javascript:void(0)" class="top">客户管理<span >&nbsp;</span></a>
                </li>
                <li id="dashboard">
                    <a href="javascript:void(0)" class="top">财务统计<span class="arrow">&nbsp;</span></a>
                    <ul style="display: none; visibility: hidden;">
                        <li>
                            <a href="<?=Url::to(['purchase/index'])?>">统计分析</a>
                        </li>
                        <li>
                            <a href="<?=Url::to(['purchase/order'])?>">门店对账</a>
                        </li>
                    </ul>
                </li>
                <li id="dashboard" class="">
                    <a href="javascript:void(0)" class="top">求购管理<span class="arrow">&nbsp;</span></a>
                    <ul style="display: none; visibility: hidden;">
                        <li><a href="<?=Url::to(['purchase/index'])?>">求购需求</a></li>
                        <!--                        <li><a href="/store/demo/quotation">采购订单</a></li>-->
                        <!--                        <li><a href="/store/demo/purchase/getlist">康众采购</a></li>-->
                        <li><a href="<?=Url::to(['purchase/order'])?>">配件消耗</a></li>
                    </ul>
                </li>
                <li id="dashboard">
                    <a href="javascript:void(0)" class="top">系统设置<span class="arrow">&nbsp;</span></a>
                    <ul style="display: none; visibility: hidden;">
                        <li><a href="/store/demo/config">系统设置</a></li>
                        <li><a href="/store/demo/staff">员工管理</a></li>
                        <li><a href="/store/demo/message">系统通知</a></li>
                    </ul>
                        </li>
                    </ul>

                </li>
            </ul>
            <a id="wechat" href="/store/demo/wechatm/message" class="show-pop btn btn-danger pull-right"
               data-placement="bottom-left" style="float:right;">
                <img src="<?=Url::to('@web/images/')?>icon16_wx_logo.png" style="margin-top:12px;">
            </a>
            <ul class="right sf-js-enabled" style="display: block;">
                <li id="store">
                    <a class="top">
                        您已登录为<?=Yii::$app->session->get('user_dealer')['dealer_name']?>&nbsp;<?=Yii::$app->user->getIdentity()->name?> <span class="arrow">&nbsp;</span></a>
                    <ul style="display: none; visibility: hidden;">
                        <li><a href="/store/demo/password">修改密码</a></li>
                        <li><a href="<?=Url::to(['user/logout'])?>"> 退出系统</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>

    <div id="content">
        <?= $content ?>
    </div>

</div>
<div id="footer"><a href="http://www.51chebao.com">51chebao</a> © 2017 All Rights Reserved.</div>
<?php $this->endBody() ?>
</body>
<script>
    $(function () {
        $('#menu ul').superfish({
            hoverClass	 : 'sfHover',
            pathClass	 : 'overideThisToUse',
            delay		 : 0,
            animation	 : {height: 'show'},
            speed		 : 'normal',
            autoArrows   : false,
            dropShadows  : false,
            disableHI	 : false, /* set to true to disable hoverIntent detection */
            onInit		 : function(){},
            onBeforeShow : function(){},
            onShow		 : function(){},
            onHide		 : function(){}
        });
    });


</script>
</html>
<?php $this->endPage() ?>
